﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class article_image
    {
		public string id=null;
		public string article_id=null;
		public string img_url=null;
		public string original_url=null;
		public string add_time=null;
		public string user_id=null;
        public string __name__;
        public article_image(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.article_id = string.Format("{0}.article_id",__name__);
			this.img_url = string.Format("{0}.img_url",__name__);
			this.original_url = string.Format("{0}.original_url",__name__);
			this.add_time = string.Format("{0}.add_time",__name__);
			this.user_id = string.Format("{0}.user_id",__name__);
        }
        public article_image()
        {
			this.id = string.Format("{0}.id",__name__);
			this.article_id = string.Format("{0}.article_id",__name__);
			this.img_url = string.Format("{0}.img_url",__name__);
			this.original_url = string.Format("{0}.original_url",__name__);
			this.add_time = string.Format("{0}.add_time",__name__);
			this.user_id = string.Format("{0}.user_id",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "article_image";
            }
            else
            {
                return string.Format("article_image as {0}",__name__);
            }
        }
    }
}